
package org.darcy.entity.sys;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Schema(description="SysFile: 系统文件")
@TableName(value = "sys_file")
@Getter
@Setter
public class SysFile implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	@Schema(description="")
	@TableId(type = IdType.AUTO)
	private Integer id;
	
	@Schema(description="文件类型")
	@TableField(value = "`file_type`")
	private String fileType;
	
	@Schema(description="存放路径")
	@TableField(value = "`url`")
	private String url;
	
	@Schema(description="文件名称")
	@TableField(value = "`file_name`")
	private String fileName;
	
	@Schema(description="文件大小")
	@TableField(value = "`file_size`")
	private String fileSize;
	
	@Schema(description="描述")
	@TableField(value = "`description`")
	private String description;
	
	@Schema(description="文件md5值")
	@TableField(value = "`md5`")
	private String md5;
	
	@Schema(description="创建时间")
	@TableField(value = "`create_time`")
	private Date createTime;
	
	@Schema(description="更新时间")
	@TableField(value = "`update_time`")
	private Date updateTime;
	
	@Schema(description="删除标识0：删除；1：存在")
	@TableField(value = "`del_flag`")
	private Integer delFlag;
	


}
